<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://ckeditor.com" prefix="ckeditor"%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="<c:url value='/resources/styles/main.css' />" type="text/css"/>
    <link type="text/css" rel="stylesheet" href="<c:url value='/resources/ckeditor/_samples/sample.css' />" />
    <script type="text/javascript">

    </script>
    <title>内容添加</title>
</head>
<body>

<table class="pagination" style="padding-left: 70px;">
    <tr>
        <td>
            <a href="<c:url value='/admin/listContent.do?type=${type}' />">返回内容列表</a>
        </td>
    </tr>
</table>
<form id="addContent" name="addContent" action="<c:url value='/admin/addContentAction.do' />" method="post">


</table>
经度：<input type="text" id="lgt" name="lgt"/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
纬度：    <input type="text" id="lat" name="lat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </br>
名称：<input type="text" id="coordName" name="coordName"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
地址：<input type="text" id="coordAddr" name="coordAddr"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </br> 标题：<input type="text" id="title" name="title" value="${data.title}" />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    序号：<input type="text" id="seq" name="seq" value="${data.seq}" />
<textarea id='content' name='content'  cols="80" rows="10"></textarea>
    <ckeditor:replace  replace="content" basePath="../resources/ckeditor/" /> </br>
    <input type="hidden" id='type' name='type' value='${type}' />
    <div style="text-align: center"><input type='submit'  value="提交" /></div>
    </form>
</body>
</html>